import Layout from '@/layout'
const userManageRouter = {
  path: '/userManage',
  component: Layout,
  name: 'userManage',
  meta: {
    title: '用户管理',
    icon: 'peoples'
  },
  children: [{
      path: 'user',
      component: () => import('@/views/UserManage/user.vue'),
      name: 'user',
      meta: {
        title: '管家用户', //原用户管理
        noCache: true
      }
    },
    {
      path: 'systemUser',
      component: () => import('@/views/UserManage/systemUser.vue'),
      name: 'systemUser',
      meta: {
        title: '系统用户',
        noCache: true
      }
    },
    {
      path: 'identity',
      component: () => import('@/views/UserManage/identity.vue'),
      name: 'identity',
      meta: {
        title: '身份管理',
        noCache: true
      }
    },
    // {
    //   path: 'leaderboard',
    //   component: () => import('@/views/UserManage/Leaderboard.vue'),
    //   name: 'leaderboard',
    //   meta: {
    //     title: '排行榜配置',
    //     noCache: true
    //   }
    // }
  ]
}
export default userManageRouter
